<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2021/11/7
  Time: 14:11
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<%@ taglib prefix="fm" uri="http://www.springframework.org/tags/form" %>

<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title>超市账单管理系统</title>
    <link rel="stylesheet" href="${pageContext.servletContext.contextPath}/statics/css/public.css"/>
    <link rel="stylesheet" href="${pageContext.servletContext.contextPath}/statics/css/style.css"/>
</head>
<body>
<!--头部-->
<jsp:include page="comon/header.jsp"></jsp:include>
<!--主体内容-->
<section class="publicMian">
    <jsp:include page="comon/left.jsp"></jsp:include>
    <div class="right">
        <div class="location">
            <strong>你现在所在的位置是:</strong>
            <span>用户管理页面 >> 用户添加页面</span>
        </div>
        <div class="providerAdd">
            <fm:form method="post" modelAttribute="user">
                用户编码:<fm:input path="userCode"/><br/><fm:errors path="userCode"></fm:errors>
                用户名称:<fm:input path="userName"/><br/><fm:errors path="userName"></fm:errors>
                用户密码:<fm:password path="userPassword"/><br/><fm:errors path="userPassword"></fm:errors>
                用户生日:<fm:input path="birthday" Class="Wdate" readonly="readonly" onclick="WdatePicker();" class="Wdate"/><br/>
                <fm:errors path="birthday"></fm:errors>
                用户地址:<fm:input path="address"/><br/>
                <fm:errors path="address"></fm:errors>
                联系电话:<fm:input path="phone"/><br/>
                <fm:errors path="phone"></fm:errors>
                用户角色:
                <fm:radiobutton path="userRole" value="1"/>系统管理员
                <fm:radiobutton path="userRole" value="2"/>经理
                <fm:radiobutton path="userRole" value="3" checked="checked"/>普通用户
                <br/>
                <input type="submit" value="保存"/>
            </fm:form>
        </div>
    </div>

</section>
<jsp:include page="comon/foot.jsp"></jsp:include>
</body>
</html>
